import logging
import configparser
config = configparser.ConfigParser()
config.read('config')


def init():
    logging.basicConfig(level=logging.INFO, filename=config['logger']['filename'],
                        format='%(asctime)s - %(name)s - %(lineno)s- %(levelname)s - %(message)s')
